import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class DeckTest {

	private Deck obiekt; 
	
	@Before
	public void setUp(){
		obiekt= new Deck();	
//		obiekt.tasujTalie();
	}
/*	@Test
	public void testDeck() {
		fail("Not yet implemented");
	}

	@Test
	public void testResetujTalie() {
		fail("Not yet implemented");
	}

	@Test
	public void testTasujTalie() {
		fail("Not yet implemented");
	}*/

	@Test
	public void testRozdaj() {
		int n=5;
		int tablica1[]={0,1,2,3,4};
		int tablica2[]=new int[n];
		System.arraycopy(obiekt.rozdaj(n),0,tablica2, 0, n);
		for(int i =0;i<n;i++)
			assertEquals(tablica1[i],tablica2[i]);
	}
}
